package com.zengqingfa.basic.generics;

/**
 * @fileName: GenericInterfaceImpl
 * @author: zengqf3
 * @date: 2020-9-5 17:00
 * @description:
 */
public class GenericInterfaceImpl<T> implements GenericInterface<T> {

    private T key;

    public GenericInterfaceImpl(T key) {
        this.key = key;
    }

    @Override
    public T getNext() {
        return key;
    }
}
